/**
 * @Title: LoginEntity.java
 * @author 6335yz
 * @date 2015年9月18日 上午10:14:42
 */
package com.onstar.cn.sqlite.entities;


import com.onstar.cn.sqlite.xutil.db.annotation.Column;
import com.onstar.cn.sqlite.xutil.db.annotation.Id;
import com.onstar.cn.sqlite.xutil.db.annotation.Table;

/**
 * @author 6335yz
 * @ClassName: LoginEntity
 * @Description: TODO
 * @date 2015年9月18日 上午10:14:42
 */
@Table(name = "t_onstar_user_credential")
public class UserCredential {

    public UserCredential() {
    }

    public UserCredential(String name, String password) {
        this.name = name;
        this.password = password;
    }

    @Id
    @Column(column = "_id")
    private Integer id;

    @Column(column ="name")
    private String name;
    @Column(column ="password")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
